<?php
namespace app\index\controller;

use app\common\model\NavModel;

class Nav
{
  public function index()
  {
    $NavModel = new NavModel();
    $data = $NavModel->getNavList();

  	return json(['status'=>200,'msg'=>'成功','data'=>$data]);
  }
}
